]> dgit.raspbian.org Git - gnome-shell.git/commit
Claim DBus names (Shell, Notifictions) *very* early
authorColin Walters <walters@verbum.org>
Fri, 25 Feb 2011 19:41:39 +0000 (14:41 -0500)
committerColin Walters <walters@verbum.org>
Mon, 28 Feb 2011 18:53:44 +0000 (13:53 -0500)
commit474ff2e997a23c343b08ea0cd8bf2e75dc509ea2
tree28c3a407298271587bc58adcec2dd64a1e6824ab
parent0d2eb76cee15adf2fb8307eaab42529fbab21786
Claim DBus names (Shell, Notifictions) *very* early

See commit f2158218bef0c51 in mutter.  Basically, we need
to grab org.freedesktop.Notifications before anything else
in the session gets started.

Note: I intentionally removed the Util.killall bits.  I believe that
for notification-daemon at least, if we specify
DBUS_NAME_FLAG_REPLACE_EXISTING, we'll take over the name.  Not sure
about notify-osd; if that's still a problem, then what we need to do
is add killing (and possibly respawning) of notify-osd to
"gnome-shell --replace", and not have it embedded randomly in a JS file.

https://bugzilla.gnome.org/show_bug.cgi?id=642666
js/ui/main.js
js/ui/notificationDaemon.js
src/gnome-shell-plugin.c
src/shell-global.c
src/shell-global.h